
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Admin login</title>
<script src="<{$smarty.const.STATIC_COMPONENT_URL}>js/SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="<{$smarty.const.STATIC_COMPONENT_URL}>js/SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />

</head>
<style type="text/css">
body {
	text-align: center;
	background-color: #EEEEEE;
	background-image: url(<{$smarty.const.STATIC_COMPONENT_URL}>/images/admin_login.gif);
	background-repeat: no-repeat;
	background-position: center center;
}
td.box {
	border: 1px dashed #AAAAAA;
	padding: 15px;
	background: #FFFFFF;
	font-family: "Trebuchet MS", tahoma, verdana, serif;
	font-size: 9pt;
}
td.login {
	font-family: "Trebuchet MS", tahoma, verdana, serif;
	font-size: 9pt;
}
input.text {
	font-family: arial, tahoma, verdana, serif;
	font-size: 9pt; 
}
div.error {
	text-align: center;
	padding-top: 3px;
	font-weight: bold;
}
input.button {
	font-family: arial, tahoma, verdana, serif;
	font-size: 9pt;
	background: #DDDDDD;
	padding: 2px;
	font-weight: bold;
}
a:link { color: #336699; }
a:visited { color: #336699; }
a:hover { color: #336699; }
</style>
<body >
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<form name="user_login" method="post" onsubmit="return validate()" action="">
<table cellpadding="0" cellspacing="0" height="100%" width="100%">
<tbody><tr>
<td>

	<table align="center" cellpadding="0" cellspacing="0">
	<tbody><tr>
	<td class="box">
		<table cellpadding="0" cellspacing="0">
<form action="admin_login.php" name="login" method="post">
		<tbody><tr>
		<td class="login">Username: &nbsp;</td>
		<td class="login"><span id="sprytextfield1">
        <label>
        <input type="text" id="login" name="login" value="<{$login|utf8_escape_html}>" maxlength="<{Parameter::MAX_LENGTH_NAME}>" class="login-length"/>
        </label>
      <span class="textfieldRequiredMsg">A value is required.</span></span></td>
		<td class="login">Password: &nbsp;</td>
		<td class="login"><span id="sprytextfield2">
        <label>
        <input type="password" id="pwd" name="pwd" value="" maxlength="<{Parameter::MAX_LENGTH_NAME}>" class="login-length"/>
        </label>
      <span class="textfieldRequiredMsg">A value is required.</span></span></td>
		<td class="login"><input class="button" value="Login" type="submit" name="submit" /></td>
		</tr>
		
		</tbody></table>
	</td>
	</tr>
	</tbody></table>
</td>
</tr>
</tbody></table>
<script type="text/javascript">
<!--
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
//-->
</script>
</form>

</body>
</html>
